﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MvcApplication1.Model.DB;

namespace MvcApplication1.Model
{
    public class UserManager
    {
        private MenusEntities dre = new MenusEntities();

        public void Add(string ingredientLibelle)
        {
            Ingredient ingredient = new Ingredient();
            ingredient.Libelle = ingredientLibelle;
            dre.Ingredient.Add(ingredient);
        }
    }
}